#include <iostream>

using namespace std;

int main(void)
{
    // 1、引用必须要初始化
    // int &b;//错误
    int a = 16;
    // 2、引用一旦初始化后，就不可以更改引用的对象了！
    int &b = a;

    // int &b = c;

    int c = 20;

    b = c;

    cout << "a = " << a << endl;
    cout << "b = " << b << endl;
    cout << "c = " << c << endl;

    return 0;
}